<?php
$this->load->view('header');
?>

<div id="main_content">
<div class="titlebar"><?= $title;?></div>
<div class="top_margin"></div>
<div class="homepage_mid_column">
<?php $this->load->view('user/user_leftnav');?>

<div class="book_charts2">
<?php
if($posts==null){?>
你没有发布求购信息。请搜索你想要求购的图书后，点击'我要求购'，填写价格等信息后发布。<br>
操作步骤请参考<a href="<?=site_url()?>/bookiki/faq">帮助文档</a>
<?php }
else{
foreach($posts as $post){ ?>
  书名：<?=$post->title?> <br>
  价格：￥<?=$post->start_price?>-￥<?=$post->end_price?>
  <br>
<?php
}
echo $this->mypagination->create_links();
}
?>

</div>
</div> <!--homepage_mid_column-->
</div>

<?php
$this->load->view('footer2');
?>